package com.kkb.mybatis.config;

import java.util.ArrayList;
import java.util.List;

/**
 * User: zsl
 * Date: 2019/10/1215:47
 * Description: 封装完全解析成功的sql语句和解析出来的参数信息集合
 */
public class BoundSql {
    private  String sql;
    private List<ParameterMapping> parameterMappings = new ArrayList<ParameterMapping>();

    public String getSql() {
        return sql;
    }

    public void setSql(String sql) {
        this.sql = sql;
    }

    public List<ParameterMapping> getParameterMappings() {
        return parameterMappings;
    }

    public void addParameterMappings(ParameterMapping parameterMapping) {
        this.parameterMappings.add(parameterMapping);
    }

}
